/*******************************************************************************
 * Copyright (c) 2006 CEA List.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA List - initial API and implementation
 *******************************************************************************/
package com.cea.papyrus.core.actions.delete;

import org.eclipse.ui.ISharedImages;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.actions.RetargetAction;

/**
 * 
 */
public class DeleteDiagramRetargetAction extends RetargetAction {

	/**
	 * 
	 */
	public static String DELETE_DIAGRAM = "DeleteDiagram";
	
	/**
	 * 
	 */
	public static String DELETE_DIAGRAM_Label = "Delete Diagram";
	
	/**
	 * 
	 */
	public static String DELETE_DIAGRAM_Tooltip = "Delete a Diagram";
	
	/**
	 * Constructs a new DeleteRetargetAction with the default ID, label and image.
	 */
	public DeleteDiagramRetargetAction() {
		super(DELETE_DIAGRAM, DELETE_DIAGRAM_Label);
		setToolTipText(DELETE_DIAGRAM_Tooltip);
		ISharedImages sharedImages = PlatformUI.getWorkbench().getSharedImages();
		setImageDescriptor(sharedImages.getImageDescriptor(ISharedImages.IMG_TOOL_DELETE));
		setDisabledImageDescriptor(sharedImages
				.getImageDescriptor(ISharedImages.IMG_TOOL_DELETE_DISABLED));
	}

	
}
